package nc.ui.arap.ys;

import nc.ui.pub.ButtonObject;
import nc.ui.pub.ToftPanel;

import nc.ui.arap.ys.EventDispatcher;

public class ClientUI extends ToftPanel {

	private EventDispatcher eventDispatchClass;
	
	{
		eventDispatchClass = new EventDispatcher(this);
		setButtons(eventDispatchClass.getButtons());
	}

	@Override
	public String getTitle() {
		return "ys";
	}

	@Override
	public void onButtonClicked(ButtonObject bo) {
		eventDispatchClass.onButtonEventDispatch(bo);
	}

}
